package com.ht.medicaltreatment.bean

data class ConsumableApplyRecordBean(
    val code: Int,
    val `data`: ApplyRecordData,
    val message: String
)

data class ApplyRecordData(
    val authSign: Int,//0是普通用户,不可以审批;1是负责人,可以审批
    val pageBean: ApplyRecordPageBean
)

data class ApplyRecordPageBean(
    val currentPage: Int,
    val pageList: MutableList<ApplyRecordPage>,
    val pageSize: Int,
    val startIndex: Int,
    val totalNumber: Int,
    val totalPage: Int
)

data class ApplyRecordPage(
    val approver: Any,
    val createTime: String,
    val expressUid: Any,
    val id: Int,
    val projectConsumableRecordDetailsList: MutableList<ApplyProjectConsumableRecordDetails>,
    val projectId: Int,
    val recipientAddress: Any,
    val recipientId: Any,
    val recipientName: Any,
    val recipientPhone: Any,
    val remark: String,
    val sendId: Any,
    val sendTime: Any,
    val sender: Any,
    val signingTime: Any,
    val status: Int,//状态状态(0:待审批;1:同意;2:拒绝;3:寄出;4:签收)   同意后，显示【准备耗材】按钮
    val updateTime: Any,
    val userId: Int,
    val username: String
)

data class ApplyProjectConsumableRecordDetails(
    val id: Int,
    val projectConsumable: ApplyProjectConsumable,
    val projectConsumableId: Int,
    val projectConsumableRecordId: Int,
    val useNumber: Int//数量
)

data class ApplyProjectConsumable(
    val consumable: Consumable,
    val consumableId: Int,
    val consumableUseProgress: Any,
    val id: Int,
    val number: Int,
    val projectId: Int
)

/*
data class Consumable(
    val brand: String,
    val colorCode: String,
    val consumableType: Int,
    val createTime: Any,
    val id: Int,
    val material: String,
    val model: String,
    val name: String,
    val picturePath: String,
    val reason: Any,
    val remark: Any,
    val signature: Any,
    val specification: String,
    val userId: Int,
    val username: Any
)*/
